package indi.zhifa.study2024.common.auth.util;


public class DatasourceSetUtil {
    static ThreadLocal<String> busyDataSourceHolder = new ThreadLocal<>();

    public static  void setDbPrompt(String dbPrompt) {
        busyDataSourceHolder.set(dbPrompt);
    }

    public static  String getDbPrompt() {
        return busyDataSourceHolder.get();
    }

    public static  void clear(){
        busyDataSourceHolder.remove();
    }

}
